/**
 * com.cnhis.his.customer.mapper.SysrolePermissions.java
 */
package com.mbmed.doctor.medadvice.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  SysrolePermissions.java
 * @author 刘武
 * @version 0.1
 * @todo	SysrolePermissions数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-12-24 10:10:36
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class SysrolePermissions extends BaseVO implements java.io.Serializable{

	private java.lang.Integer id;
	private java.lang.Integer roleId;
	private java.lang.Byte xtype;
	private java.lang.Integer elementId;
	private java.lang.Short permission;
	private java.lang.String code;
	
	
	public java.lang.String getCode() {
		return code;
	}
	public void setCode(java.lang.String code) {
		this.code = code;
	}
	public void setId(java.lang.Integer value) {
		this.id = value;
	}	
	public java.lang.Integer getId() {
		return this.id;
	}

	public void setRoleId(java.lang.Integer value) {
		this.roleId = value;
	}	
	public java.lang.Integer getRoleId() {
		return this.roleId;
	}

	public void setXtype(java.lang.Byte value) {
		this.xtype = value;
	}	
	public java.lang.Byte getXtype() {
		return this.xtype;
	}

	public void setElementId(java.lang.Integer value) {
		this.elementId = value;
	}	
	public java.lang.Integer getElementId() {
		return this.elementId;
	}

	public void setPermission(java.lang.Short value) {
		this.permission = value;
	}	
	public java.lang.Short getPermission() {
		return this.permission;
	}
}
